package com.new_wear.project.activity.domain;

import com.new_wear.project.system.area.domain.CstArea;
import com.new_wear.project.system.dept.domain.Dept;
import com.new_wear.project.system.menu.domain.Menu;
import com.new_wear.project.system.user.domain.User;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.new_wear.framework.aspectj.lang.annotation.Excel;
import com.new_wear.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 活动对象 cst_activity
 * 
 * @author new_wear
 * @date 2020-01-07
 */
public class CstActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Integer id;

    /** 区域ID */
    @Excel(name = "区域ID")
    private Integer areaId;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String title;

    /** 简介 */
    private String brief;

    /** 内容 */
    private String content;

    /** 活动栏目分类 */
    private Integer category;

    /** 现场签到审核人员 */
    private String mid;

    /** 发起支部（承办方） */
    private String groupName;

    /** 联系电话 */
    private String phone;

    /** 活动地址 */
    private String address;

    /** 联系人 */
    private String contacter;

    /** 图片 */
    private String images;

    /** 0未开始，1进行中，2已结束 */
    @Excel(name = "0未开始，1进行中，2已结束")
    private Integer status;

    /** 是否发布 1发布，0未发布 */
    private Integer isPublish;

    /** 发布时间 */
    private Date publishTime;

    /** 开始时间 */
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 添加时间 */
    private Date addTime;

    /** 0普通类型（报名活动），1，投票，2抽奖 */
    @Excel(name = "0普通类型", readConverterExp = "报=名活动")
    private Integer tpe;

    /** 添加者ID */
    private Integer adminId;

    /** 发起人 */
    private String addName;

    /** 0 无限制(人数限制） */
    private Integer personLimit;

    /** 奖励规则ID */
    private String eventCode;

    /** 图集 */
    private String photos;

    /** 是否已通知 */
    private Integer isNotify;

    /** 关联新闻的ID */
    private String newsids;

    /** 点击数 */
    @Excel(name = "点击数")
    private Integer clickCount;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Integer likes;

    /** 0未上报，1已上报 */
    private Integer isReport;

    /** 0 未审，1通过，2不通过 */
    @Excel(name = "0 未审，1通过，2不通过")
    private Integer isCheck;

    /** 不通过原因 */
    private String checkCase;

    /** 0 未审，1通过，2不通过 */
    private Integer checkTime;

    /** 审核人 */
    private String checkUser;

    /** 参与人数 */
    private Integer joincount;

    /** 栏目分类对象 */
    private Menu Menu;

    /** 区域对象 */
    private Dept dept;

    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public Menu getMenu() {
        return Menu;
    }

    public void setMenu(Menu menu) {
        Menu = menu;
    }

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setAreaId(Integer areaId) 
    {
        this.areaId = areaId;
    }

    public Integer getAreaId() 
    {
        return areaId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setBrief(String brief) 
    {
        this.brief = brief;
    }

    public String getBrief() 
    {
        return brief;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setCategory(Integer category) 
    {
        this.category = category;
    }

    public Integer getCategory() 
    {
        return category;
    }
    public void setMid(String mid) 
    {
        this.mid = mid;
    }

    public String getMid() 
    {
        return mid;
    }
    public void setGroupName(String groupName) 
    {
        this.groupName = groupName;
    }

    public String getGroupName() 
    {
        return groupName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setContacter(String contacter) 
    {
        this.contacter = contacter;
    }

    public String getContacter() 
    {
        return contacter;
    }
    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setIsPublish(Integer isPublish) 
    {
        this.isPublish = isPublish;
    }

    public Integer getIsPublish() 
    {
        return isPublish;
    }
    public void setPublishTime(Date publishTime) 
    {
        this.publishTime = publishTime;
    }

    public Date getPublishTime() 
    {
        return publishTime;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }
    public void setTpe(Integer tpe) 
    {
        this.tpe = tpe;
    }

    public Integer getTpe() 
    {
        return tpe;
    }
    public void setAdminId(Integer adminId) 
    {
        this.adminId = adminId;
    }

    public Integer getAdminId() 
    {
        return adminId;
    }
    public void setAddName(String addName) 
    {
        this.addName = addName;
    }

    public String getAddName() 
    {
        return addName;
    }
    public void setPersonLimit(Integer personLimit) 
    {
        this.personLimit = personLimit;
    }

    public Integer getPersonLimit() 
    {
        return personLimit;
    }
    public void setEventCode(String eventCode) 
    {
        this.eventCode = eventCode;
    }

    public String getEventCode() 
    {
        return eventCode;
    }
    public void setPhotos(String photos) 
    {
        this.photos = photos;
    }

    public String getPhotos() 
    {
        return photos;
    }
    public void setIsNotify(Integer isNotify) 
    {
        this.isNotify = isNotify;
    }

    public Integer getIsNotify() 
    {
        return isNotify;
    }
    public void setNewsids(String newsids) 
    {
        this.newsids = newsids;
    }

    public String getNewsids() 
    {
        return newsids;
    }
    public void setClickCount(Integer clickCount) 
    {
        this.clickCount = clickCount;
    }

    public Integer getClickCount() 
    {
        return clickCount;
    }
    public void setLikes(Integer likes) 
    {
        this.likes = likes;
    }

    public Integer getLikes() 
    {
        return likes;
    }
    public void setIsReport(Integer isReport) 
    {
        this.isReport = isReport;
    }

    public Integer getIsReport() 
    {
        return isReport;
    }
    public void setIsCheck(Integer isCheck) 
    {
        this.isCheck = isCheck;
    }

    public Integer getIsCheck() 
    {
        return isCheck;
    }
    public void setCheckCase(String checkCase) 
    {
        this.checkCase = checkCase;
    }

    public String getCheckCase() 
    {
        return checkCase;
    }
    public void setCheckTime(Integer checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Integer getCheckTime() 
    {
        return checkTime;
    }
    public void setCheckUser(String checkUser) 
    {
        this.checkUser = checkUser;
    }

    public String getCheckUser() 
    {
        return checkUser;
    }
    public void setJoincount(Integer joincount) 
    {
        this.joincount = joincount;
    }

    public Integer getJoincount() 
    {
        return joincount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("areaId", getAreaId())
            .append("title", getTitle())
            .append("brief", getBrief())
            .append("content", getContent())
            .append("category", getCategory())
            .append("mid", getMid())
            .append("groupName", getGroupName())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("contacter", getContacter())
            .append("images", getImages())
            .append("status", getStatus())
            .append("isPublish", getIsPublish())
            .append("publishTime", getPublishTime())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("addTime", getAddTime())
            .append("tpe", getTpe())
            .append("adminId", getAdminId())
            .append("addName", getAddName())
            .append("personLimit", getPersonLimit())
            .append("eventCode", getEventCode())
            .append("photos", getPhotos())
            .append("isNotify", getIsNotify())
            .append("newsids", getNewsids())
            .append("clickCount", getClickCount())
            .append("likes", getLikes())
            .append("isReport", getIsReport())
            .append("isCheck", getIsCheck())
            .append("checkCase", getCheckCase())
            .append("checkTime", getCheckTime())
            .append("checkUser", getCheckUser())
            .append("joincount", getJoincount())
            .toString();
    }
}
